Repository navigation
fix(core): a sealed recording starts on a composition without GSAP - #8593
Merged
Merged
Conversation
terencecho
approved these changes
Nov 23, 2026
terencecho
left a comment
Contributor
There was a problem hiding this comment.
The sealed fallback now supplies the same neutral GSAP values the unsealed recorder uses. Both paths continue through the recorder’s existing offset logic. An unknown element still returns null. All 20 gesture-start tests passed locally. I did not rerun the browser bench.
— tai (automated review)
Contributor
Edit accuracy: accurate 271 (base branch 271), smooth 49 of thoseThe gate passes. Quarantined, measured but not gated (0) |
miguel-heygen
enabled auto-merge
November 23, 2026 13:46
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 23, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
On a sealed preview, recording a gesture on a composition that doesn't load GSAP now starts. Before, it refused with "Preview not ready. Try again", every time. Unsealed, the same recording starts.
Why
A sealed recording starts from the layer's values the frame reports (
gesture-base, #8568). The frame read them from GSAP and answered null when the page has no GSAP, which Studio takes as "not ready". The unsealed recorder, finding no GSAP, starts from x 0, y 0, opacity 1 and scale 1 (readBasePositioninuseGestureRecording.ts).Related work
Follows #8568.
How
gestureBasein core'seditingGestureStart.tsanswers those same values at rest when the page has no GSAP. It still answers null for an element the load doesn't have.Test plan
fails without the fix:
packages/core/src/runtime/editingGestureStart.test.ts: "answers the values at rest on a page without GSAP, as the unsealed recorder starts".With the fix, that file passes three runs in a row on Linux (20 tests). Core's
src/runtime(164 files, 3,601 tests) passes, and core typechecks clean.In Studio built at this branch and at main on Linux, run headless on the edit bench's
move-nonecase (no GSAP on the page), sealed: main refuses the recording with "Preview not ready. Try again"; with the fix it runs.